﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DatabaseHelper
{
    /// <summary>
    /// PPipeline class present a row with main fields in Pipelines table
    /// </summary>
    public class PPipeline
    {
        #region PROPERTIES
        /// <summary>
        /// Name of pipeline
        /// </summary>
        public string PipelineName { get; set; }
        /// <summary>
        /// Summary of pipeline
        /// </summary>
        public string PipelineSummary { get; set; }
        #endregion

        #region CONSTRUCTORS
        /// <summary>
        /// Default constructor
        /// </summary>
        public PPipeline()
        {
            PipelineName = "";
            PipelineSummary = "";
        }

        /// <summary>
        /// Constructor with pipeline name
        /// </summary>
        /// <param name="name">Name of pipeline</param>
        public PPipeline(string name, string summary)
            : this()
        {
            PipelineName = name;
            PipelineSummary = summary;
        }
        #endregion
    }
}
